#pragma once
#include "LoadingBySameKindAirPlane.h"
#include "DataTypes.h"

namespace LoadingWK
{
    public ref class SameAirplanLoadingClr
    {
    public:
        SameAirplanLoadingClr();
        ~SameAirplanLoadingClr();

    public:
        bool importInformationOfEquipments(Generic::List<LoadingWK::EquipmentClr^>^ equipmentList);
        bool importInformationOfAirplane(LoadingWK::AirplaneClr^ airplane, Double minSpacing);
        Double getStepOfOffsetLoad();
        void setStepOfOffsetLoad(Double step);

        int startLoadingWithMaxCountOfAirplane(int maxCountOfAirplane);
        int startLoadingWithoutLimit();
        Generic::List<LoadingWK::LoadedAirplaneClr^>^ getLoadedAirplanes();
        LoadingWK::LoadedEquipmentListClr^ getLoadedEquipments();
        Generic::List<LoadingWK::EquipmentClr^>^ getUnloadedEquipments();
        
    private:
        gaeaway_load::LoadingBySameKindAirPlane* _pIntelligentLoad;
    };
}


